package com.hcc.flow.server.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

import com.hcc.flow.server.config.EncryptAutoConfiguration;

/**
 * 启用加密Starter
 * 
 * <p>
 * 在Spring Boot启动类上加上此注解
 * <p>
 * 
 * <pre class="code">
 * &#064;SpringBootApplication &#064;EnableEncrypt public class App { public
 * static void main(String[] args) { SpringApplication.run(App.class, args); } }
 * 
 * <pre>
 * 
 * @author 韩长长 
 *
 * 
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({ EncryptAutoConfiguration.class })
public @interface EnableEncrypt {

}
